package cn.edu.scau.cmi.maikejian.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
 
public class SingletonClient extends Application {
 
    public static void main(String[] args) {
       launch(args);;
    }
    
    @Override
    public void start(Stage stage) throws Exception {
    	Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/maikejian/Singleton/MyFxml.fxml"));
        Scene scene = new Scene(root, 500, 400);
        stage.initStyle(StageStyle.DECORATED);
        stage.setScene(scene);
        stage.show();
    }
 
}
